<%@ page language="java" contentType="text/html;charset=UTF-8" pageEncoding="UTF-8"%> 
<%@ include file="/WEB-INF/views/include/taglib.jsp"%> 
 
<!DOCTYPE html >
<html> 
     <head> 
       <meta name="decorator" content="default"/>
       <title>茂业运营服务支撑平台</title> 
<script language="JavaScript" src="${staticPath}/js/skin.js" type="text/javascript"></script>       
<script type="text/javascript">
        var staticPath='${staticPath}';
        var contextPath='${contextPath}';
          
        
    	$(document).ready(function (){
			$('[data-p-id]').each(function (){
				$("#"+$(this).attr("data-p-id")).addClass("active");
			});  
			//查询所有待办
			getTodoData(0,"todoAllDB","N");  
			$('#todotab a:first').tab('show');   
		
			

	    $.ajax({
				url: '${contextPath}/sys/base/link/getAllLink',
				dataType: 'json',
				success: function(data) {
					for(var i = 0; i < data.length; i++) {
						// 循环输出，用变量替换template中的{{变量}}
						$("#usual").append("<li><b class='icon_5 icon'></b>"+"<a target='_blank'"+
								" href='"+data[i].url+"'>"+
								data[i].linkName+"</a></li>");
					}
				}
			 }); 

	    $.ajax({
			url: '${contextPath}/sys/news/new/getForward',
			dataType: 'json',
			success: function(data) {
				for(var i = 0; i < data.length; i++) {				
					$("#news").append("<li><b class='icon_5 icon'></b>"+"<a title='"+data[i].title+"' target='_self'"+
							" href='${contextPath}/sys/news/new/"+data[i].id+"/getDetail'>"+
							data[i].title+"</a></li>");
				}
			}
		 }); 

   		});	  
    	
    	function pointOut(){
    		top.$.jBox.tip("建设中。。。",'warning');
    	}
    	
    	   
    	function doword()   
    	{   
    		window.open(contextPath+"/sys/base/link/service");
    	} 
    	
    	function notice(){
    		window.open(contextPath+"/sys/base/link/account");
    	}
</script>
<script type="text/javascript"  src="${staticPath}/js/index.js"></script>   
</head> 
<body> 
     	<%@include file="/WEB-INF/views/include/navbar.jsp" %>
		<div id="wrapper">
			<div class="container o-main-container Projection"  style="overflow:hidden;">
				<div class="row">
                    <!--左边栏-->
					<div class="col-sm-2">
						<div id="leftbar">
							<ul class="nav">
								<li class="active"><a href="#" title=""><span class="glyphicon glyphicon-home"></span>&nbsp;<small>首&nbsp;页</small></a></li>
                                <div class="left_drop"></div>
							</ul>
<%--                            <shiro:hasPermission name="ossp.menu.biz"> --%>
	                            <ul class="nav sidebar">
	                                <div class="title_1"><span class="title_2">业务模块</span></div>
<%-- 	                                <shiro:hasPermission name="ossp.menu.index.biz.contract"> --%>
	                                	<li><a href="${contextPath}/biz/contract/assrecord/getList?navId=13980000000000001" title=""><span class="glyphicon glyphicon-list-alt"></span>&nbsp;<span>招商合约</span></a></li>
<%-- 	                                </shiro:hasPermission> --%>
<%-- 									<shiro:hasPermission name="ossp.menu.index.biz.statement"> --%>
	                                	<li><a href="${contextPath}/biz/statement/stm/prepaid/list?navId=13430000000000003" title=""><span class="glyphicon glyphicon-usd"></span>&nbsp;<span>结算对账</span></a></li>
<%-- 	                                </shiro:hasPermission> --%>
<%-- 	                                <shiro:hasPermission name="ossp.menu.index.biz.supplierbrand"> --%>
	                                	<li><a href="${contextPath}/biz/brand/supplier/userinfo?navId=18250000000000023" title=""><span class="glyphicon glyphicon-tag"></span>&nbsp;<span>供应商品牌</span></a></li>
<%-- 	                                </shiro:hasPermission> --%>
	                            </ul>
<%-- 							</shiro:hasPermission> --%>
<%-- 							<shiro:hasPermission name="ossp.menu.index.bpm"> --%>
	                            <ul class="nav sidebar">
	                                <div class="title_1"><span class="title_2">流程管理</span></div>
<%-- 									<shiro:hasPermission name="ossp.menu.index.bpm.sap"> --%>
	                                	<li><a href="${contextPath}/bpm/bpmsap/processDefinition?navId=46010000000032003" title=""><span class="glyphicon glyphicon-briefcase"></span>&nbsp;<span>HR流程</span></a></li>
<%-- 									</shiro:hasPermission> --%>
	                            </ul>
<%-- 							</shiro:hasPermission> --%>
                            <ul class="nav sidebar" style="display: none;">
                                <div class="title_1"><span class="title_3">最近浏览</span></div>
                                <li><a href="#" title="" onclick="pointOut()"><span class="glyphicon glyphicon-eye-open"></span>&nbsp;<span>我的合同</span></a></li>
                                <li><a href="#" title="" onclick="pointOut()"><span class="glyphicon glyphicon-eye-open"></span>&nbsp;<span>合同管理</span></a></li>
                                <li><a href="#" title="" onclick="pointOut()"><span class="glyphicon glyphicon-eye-open"></span>&nbsp;<span>结算对账</span></a></li>
                                <li><a href="#" title="" onclick="pointOut()"><span class="glyphicon glyphicon-eye-open"></span>&nbsp;<span>厂派员工管理</span></a></li>
                                <li><a href="#" title="" onclick="pointOut()"><span class="glyphicon glyphicon-eye-open"></span>&nbsp;<span>进场装修</span></a></li>
                                <li><a href="#" title="" onclick="pointOut()"><span class="glyphicon glyphicon-eye-open"></span>&nbsp;<span>意见反馈</span></a></li>
                            </ul>
						</div>
					</div>
                    <!--右边内容-->
                    <div class="right_1" data-toggle="modal" data-target="#changeSkinModal" style="cursor: pointer;"></div>
                    <div class="col-md-10 right">
                         <div class="col-md-12">
                              <div class="banner">
                                  <div id="carousel-example-generic" class="carousel slide" data-ride="carousel">
                                      <!-- Indicators -->
                                      <ol class="carousel-indicators">
                                        <li data-target="#carousel-example-generic" data-slide-to="0" class=""></li>
                                        <li data-target="#carousel-example-generic" data-slide-to="1" class="active"></li>
                                        <li data-target="#carousel-example-generic" data-slide-to="2" class=""></li>
                                      </ol>
                                      <!-- Wrapper for slides -->
                                      <div class="carousel-inner">
                                        <div class="item"><img src="static/images/banner_1.jpg"alt="..."></div>
                                        <div class="item active"><img src="static/images/banner_1.jpg"alt="..."></div>
                                        <div class="item"><img src="static/images/banner_1.jpg"alt="..."></div>
                                      </div>
                                      <!-- Controls -->
                                      <a class="left carousel-control" href="#carousel-example-generic" data-slide="prev">
                                        <span class="glyphicon glyphicon-chevron-left"></span>
                                      </a>
                                      <a class="right carousel-control" href="#carousel-example-generic" data-slide="next">
                                        <span class="glyphicon glyphicon-chevron-right"></span>
                                      </a>
                                  </div>
                              </div>
                         </div>
                         <!--文字内容-->
                         <div class="col-md-9">
                              <div class="col-sm-12">
                                   <div class="tab_1">
                                        <!--标签内容-->
                                        <ul class="nav tabs_2" id="todotab">
                                            <li><a href="#todoAll"     data-toggle="tab"  class="active">所有待办</a></li>
 										    <li><a href="#todoMessage" onclick="todoMessage_onclick()"   data-toggle="tab">待处理</a></li> 
 										    <li><a href="#todoRead"  onclick="todoRead_onclick()" data-toggle="tab">待阅读</a></li>
 										    <li><a href="#todofinish" onclick="todofinish_onclick()"   data-toggle="tab">已处理</a></li>
                                        </ul>
                                        <div class="tab-content">
                                            <!--标签1-->
                                           	 <div class="tab-pane active" id="todoAll"> 
                                           	    <form:form id="listFormtodoAllDB" name="listForm" action="" modelAttribute="todoMessage" method="post" class="form-inline" role="form">
	                                           	 		<input type="hidden" id="pageNotodoAllDB" name="pageNotodoAllDB" value=""/>
	                                           	 		<input type="hidden" name="pageSizetodoAllDB" id="pageSizetodoAllDB" value=""/>
	                                           	 	<div id="todoAllDB"></div>  
	         									</form:form>
                                             </div>  
	                                          <!--标签2-->
	                                            <div class="tab-pane" id="todoMessage"> 
	                                               <form:form id="listFormtodoMessageDB" name="listForm" action="" modelAttribute="todoMessage" method="post" class="form-inline" role="form">
	                                           	 		<input type="hidden" id="pageNotodoMessageDB" name="pageNotodoMessageDB" value=""/>
	                                           	 		<input type="hidden" name="pageSizetodoMessageDB" id="pageSizetodoMessageDB" value=""/>
	                                           	 	<div id="todoMessageDB"></div>  
	         									</form:form> 
	                                            </div>
	                                            <!--  标签三 -->
	                                            <div class="tab-pane" id="todoRead"> 
		                                            <form:form id="listFormtodoReadDB" name="listForm" action="" modelAttribute="todoMessage" method="post" class="form-inline" role="form">
		                                           	 		<input type="hidden" id="pageNotodoReadDB" name="pageNotodoReadDB" value=""/>
		                                           	 		<input type="hidden" name="pageSizetodoReadDB" id="pageSizetodoReadDB" value=""/>
		                                           	 	<div id="todoReadDB"></div>  
		         									</form:form>  
	                                            </div> 
	                                           	<!--  标签三 -->
	                                            <div class="tab-pane" id="todofinish">   
	                                            	<form:form id="listFormtodofinishDB" name="listForm" action="" modelAttribute="todoMessage" method="post" class="form-inline" role="form">
		                                           	 		<input type="hidden" id="pageNotodofinishDB" name="pageNotodofinishDB" value=""/>
		                                           	 		<input type="hidden" name="pageSizetodofinishDB" id="pageSizetodofinishDB" value=""/>
		                                           	 	<div id="todofinishDB"></div>  
		         									</form:form> 
	                                            </div> 
                                            </div> 
                                        </div>
                                   </div>
                              </div> 
                         <!--右边内容-->
                         <div class="col-md-3 right_2"> 
                              <div class="right_3">
                                   <ul class="nav tabs_2">
                                       <li><a href="#Todo" data-toggle="tab" class="active">小贴士</a></li>
                                   </ul>
                                   <div class="tab-content right_5">
                                       <div class="tab-pane active l_2" id="Todo" style="word-wrap: break-word; word-break: normal; font-size: 12px;color: #0F7BC2;">
											亲！有关绩效的问题（含账号）请联系ERP hr组林链新；<br/><br/>
											有关Hr流程及新账号注册的问题请联系ERP hr组黄继志；<br/><br/>
											有关ossp的问题请联系ossp组李艳飞。<br/>

                                       </div>
                                   </div>
                              </div>
                               <!--新闻信息-->
                              <div class="right_3">
                                   <div class="title_1"><span class="title_4">新闻信息</span></div>
                                   <div class="right_5 l_2">
                                        <ul id="news">                		 
                                        </ul>     
                                        <div class="mone"><a href="${contextPath}/sys/news/new/MoreNews" class="text-danger">更多&gt;&gt;</a></div>                                 
                                   </div>
                              </div>
                              <div class="right_3">
                                   <div class="title_1"><span class="title_4">茂业ossp系统用户须知</span></div>
                                   <div class="tab-content right_5">
                                       <div class="tab-pane active l_2" id="Todo">
	                                        <ul>
	                                            <li><b class="icon_5 icon"></b><a href="javascript:void(0)" style="color: #0F7BC2; font-weight: bold;" onclick="doword()">系统操作指南</a></li>
	                                            <li><b class="icon_5 icon"></b><a href="javascript:void(0)" style="color: #0F7BC2; font-weight: bold;" onclick="notice()">结算对账指南</a></li>
	                                        </ul>
                                       </div>
                                   </div>
                              </div>
                              
                              <div class="right_3">
                                   <div class="title_1"><span class="title_4">招商信息</span></div>
                                   <div class="tab-content right_5">
                                       <div class="tab-pane active l_2" id="Todo">
	                                        <ul>
	                                            <li><b class="icon_5 icon"></b><a href="#">华强北店3楼112铺位招租</a></li>
	                                            <li><b class="icon_5 icon"></b><a href="#">茂业国际管理制度</a></li>
	                                            <li><b class="icon_5 icon"></b><a href="#">供应商管理制度</a></li>
	                                            <li><b class="icon_5 icon"></b><a href="#">华强北店3楼有位招租</a></li>
	                                            <li style="display: none;"><b class="icon_5 icon"></b><a href="#">LV进驻茂业</a></li>
	                                            <div class="mone"><a href="#" class="text-danger">更多&gt;&gt;</a></div>
	                                        </ul>
                                       </div>
                                   </div>
                              </div>
                              
                              <!--意见反馈-->
                              <div class="right_3" style="display: none;">
                                   <div class="title_1"><span class="title_4">意见反馈</span></div>
                                   <div class="right_5">
                                        <div class="l_3">
                                             <span class="col-md-3"><img src="static/images/pic_1.gif"></span>
                                             <ul>
                                                <li class="col-md-9"><a href="#">关于茂业活动折扣建议活动折扣建议....</a></li>
                                             </ul>
                                        </div>
                                        <div class="l_3">
                                             <span class="col-md-3"><img src="static/images/pic_1.gif"></span>
                                             <ul>
                                                <li class="col-md-9"><a href="#">关于茂业活动折扣建议活动折扣建议....</a></li>
                                             </ul>
                                        </div>
                                        <div class="l_3">
                                             <span class="col-md-3"><img src="static/images/pic_1.gif"></span>
                                             <ul>
                                                <li class="col-md-9"><a href="#">关于茂业活动折扣建议活动折扣建议....</a></li>
                                             </ul>
                                        </div>
                                        <div class="l_3">
                                             <span class="col-md-3"><img src="static/images/pic_1.gif"></span>
                                             <ul>
                                                <li class="col-md-9"><a href="#">关于茂业活动折扣建议活动折扣建议....</a></li>
                                             </ul>
                                        </div>
                                        <div class="bottom">
                                        <button type="button" class="bottom_1" onclick="pointOut()"></button>
                                        <button type="button" class="bottom_2" onclick="pointOut()"></button>
                                        </div>
                                   </div>
                                   
                              </div>
                               <!--排行-->
                              <div class="right_3" style="display: none;">
                                   <div class="title_1"><span class="title_4">季度销售排行</span></div>
                                   <div class="right_5 l_2">
                                        <ul>
                                            <li><b class="icon_6 icon"></b>BENETTON</li>
                                            <li><b class="icon_7 icon"></b>Calvin Klein</li>
                                            <li><b class="icon_8 icon"></b>Jeans</li>
                                            <li><b class="icon_9 icon"></b>Esprit</li>
                                            <li><b class="icon_10 icon"></b>VERO MODA</li>
                                            <li><b class="icon_11 icon"></b>E.LAND</li>
                                            <li><b class="icon_12 icon"></b>欧时力</li>
                                            <li><b class="icon_13 icon"></b>ONLY</li>
                                            <li><b class="icon_14 icon"></b>teenlweenie</li>
                                            <li><b class="icon_15 icon"></b>季候风</li>
                                        </ul>
                                   </div>
                              </div>
                              <!--茂业文化-->
                              <div class="right_3" style="display: none;">
                                   <div class="title_1"><span class="title_4">茂业文化</span></div>
                                   <div class="right_5">
                                        <div class="l_4">
                                             <span class="col-md-3"><img src="static/images/pic_1.gif"></span>
                                             <div class="col-xs-9">
                                                  <div class="l_5">第一季度之星</div>
                                                  <div class="l_6">公关部：<span>张某某</span></div>
                                             </div>
                                        </div>
                                        <div class="l_4">
                                             <span class="col-md-3"><img src="static/images/pic_1.gif"></span>
                                             <div class="col-xs-9">
                                                  <div class="l_5">第一季度之星</div>
                                                  <div class="l_6">公关部：<span>张某某</span></div>
                                             </div>
                                        </div>
                                        <div class="l_4">
                                             <span class="col-md-3"><img src="static/images/pic_1.gif"></span>
                                             <div class="col-xs-9">
                                                  <div class="l_5">第一季度之星</div>
                                                  <div class="l_6">公关部：<span>张某某</span></div>
                                             </div>
                                        </div>
                                   </div>
                              </div>
                              <!--常用资料-->
                              <div class="right_3">
                                   <div class="title_1"><span class="title_4">常用资料</span></div>
                                   <div class="right_5 l_2">
                                        <ul id="usual">
                                        </ul>
                                   </div>
                              </div>  
                         </div>
                    </div>
				</div>
				
				<!-- <div id="mydiv" style="height:30px;width:1000px;border:solid 2px;">CSS Test</div> -->
				<!--版权-->
                <div class="b_1">
                     <div class="banner_2"><a href="#" class="thumbnail thumbnail_2"><img src="static/images/banner_2.jpg"></a></div>
                     <div class="container container_2">
                          <div class="copyright">
                              <P><span class="icon_1 icon"></span><A href="#" target=_blank>微博帮助</A><A href="#" target=_blank>意见反馈</A><A href="#" target=_blank>开放平台</A><A href="#" target=_blank>微博照片</A><A>茂业导航</A></P>
                              <P><span class="icon_2 icon"></span>TAG标签： <A href="#" target=_blank>官方网站</A><A>茂业国际</A> <A href="#">茂业集团</A></P>
                              <P>版权所有 © 茂業國際控股有限公司<span class="a_0078b6"><A href="#">粤ICP备07033766号</A></span>站长统计</p>
                          </div>
                    </div>
                </div>
			</div>
		</div>
     </body> 
</html> 